package com.chaos.order.api.data;

import com.chaos.framework.model.data.DATA;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper =false)
@Accessors(chain = true)
@ApiModel(value="TPayWxConfigData", description="微信支付配置表")
public class TPayWxConfigData extends DATA{


    @ApiModelProperty(value = "商户id")
    private Long merchantId;


    @ApiModelProperty(value = " 类型( 1: 系统  2:商户  )")
    private Integer merchantType;


    @ApiModelProperty(value = "appid")
    private String appId;


    @ApiModelProperty(value = "商户id")
    private String mchId;


    @ApiModelProperty(value = "apiV3 秘钥值")
    private String apiV3Key;


    @ApiModelProperty(value = "apiV3 证书序列号值")
    private String certSerialNo;


    @ApiModelProperty(value = "p12证书文件的绝对路径或者以classpath:开头的类路径.")
    private String keyPath;


    @ApiModelProperty(value = "apiclient_key. pem证书文件的绝对路径或者以classpath:开头的类路径")
    private String privateKeyPath;


    @ApiModelProperty(value = "apiclient_cert. pem证书文件的绝对路径或者以classpath:开头的类路径.")
    private String privateCertPath;


    @ApiModelProperty(value = "appid 类型( 1: app   2:公众号（服务号） 3:小程序 4: 企业号 5:网站应用  )")
    private Integer appidType;


    @ApiModelProperty(value = "支付状态（0：未支付  1：启用）")
    private Integer status;


    @ApiModelProperty(value = "支付成功回调地址")
    private String payNotifyUrl;


    @ApiModelProperty(value = "退款回调地址")
    private String refundNotifyUrl;


    @ApiModelProperty(value = "信用分回调地址")
    private String payScoreNotifyUrl;


    @ApiModelProperty(value = "其他子项配置json")
    private String otherConfig;


    @ApiModelProperty(value = "沙箱（0：未支付  1：启用） v3现无")
    private Integer sandboxEnv;


}
